global_defs {
    router_id {{ KEEPALIVE_ROUTE_ID }}
}
vrrp_script check-haproxy {
    script "killall -0 haproxy"
    interval 5
    weight -30
}
vrrp_instance VI-kube-master {
    state {{ keepalive_state }}
    priority {{ keepalive_priority }}
    dont_track_primary
    interface {{ net_card_nm.stdout }}
    virtual_router_id {{ KEEPALIVE_VIRTUAL_ROUTER_ID }}
    advert_int 3
    track_script {
        check-haproxy
    }
    virtual_ipaddress {
        {{ VIP }}
    }
}
